package com.dhcc.bpm.modules.alarm.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.NullSerializer;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @ClassName Template
 * @Description 告警内容模板表实体类
 * @Author sjm
 * @Date 2020/2/21 0021 15:16
 * @Version V1.0
 * @Copyright: 2020 东华软件 . All rights reserved.
 **/
@Data
@TableName("opc_template")
@ApiModel(value = "Template对象", description = "告警内容模板表")
public class Template implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	* 主键
	*/
		@ApiModelProperty(value = "主键")
		@JsonSerialize(using = ToStringSerializer.class,nullsUsing = NullSerializer.class)
		private Long id;
	/**
	* 模板内容
	*/
		@ApiModelProperty(value = "模板内容")
		private String templateContent;
	/**
	* 模板编号
	*/
		@ApiModelProperty(value = "模板编号")
		private String templateCode;
	/**
	* 描述
	*/
		@ApiModelProperty(value = "描述")
		private String describe;
	/**
	* 创建人
	*/
		@ApiModelProperty(value = "创建人")
		@JsonSerialize(using = ToStringSerializer.class,nullsUsing = NullSerializer.class)
		private Long createUser;
	/**
	* 创建部门
	*/
		@ApiModelProperty(value = "创建部门")
		@JsonSerialize(using = ToStringSerializer.class,nullsUsing = NullSerializer.class)
		private Long createDept;
	/**
	* 创建时间
	*/
		@ApiModelProperty(value = "创建时间")
		private Date createTime;
	/**
	* 更新者
	*/
		@ApiModelProperty(value = "更新者")
		@JsonSerialize(using = ToStringSerializer.class,nullsUsing = NullSerializer.class)
		private Long updateUser;
	/**
	* 更新时间
	*/
		@ApiModelProperty(value = "更新时间")
		private Date updateTime;
	/**
	* 状态
	*/
		@ApiModelProperty(value = "状态")
		private Integer status;
	/**
	* 删除标识
	*/
		@ApiModelProperty(value = "删除标识")
		private Integer isDeleted;

}
